

<?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php $iso = split( '=', _ISO );
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />

<?php mosShowHead(); ?>
<?php if ( $my->id ) { initEditor();
}

if ((mosCountModules( 'user1' )) && (mosCountModules( 'user2' ))) {
//if both modules are loaded, we need a 50%-layout for them
	$usera = 'user1';
	$userb = 'user2';
} else if ((mosCountModules( 'user1' )) || (mosCountModules( 'user2' ))) {
// if only one, then 100% no matter which one.
	$usera = 'user3';
	$userb = 'user3';
}
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site; ?>/templates/m8/css/template_css.css" rel="stylesheet" type="text/css"/>
</head>

<body>


<div id="page">
	<div id="superbar">
		<div id="searchbar">
		<form action="index.php" method="get">
		<input type="hidden" name="option" value="com_search" />
			Parola chiave
			<input type="text" name="searchword" maxlength="20" style="border:1px solid #999999; font-size: 12px;" value="" />
			<input type="submit" name="submit" value="Cerca" style="border:1px solid #999999;font-size:11px;"/>
		</form>
		</div>
	</div>
	
	<div id="header"><a href="index.php"><img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/header1.jpg" style="width:350px;height:87px" border="0"/></a></div>
	<div id="menutop">
		<div class="menutop_btn"><a href="index.php">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/prima.jpg" id="menubtn_home" style="width:101px;height:25px"/>
		</a></div>
		<div class="menutop_btn"><a href="index.php?option=com_login&task=login">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/entra.jpg" id="menubtn_entra" style="width:50px;height:25px"/>
		</a></div>
		<div class="menutop_btn"><a href="index.php?option=com_comprofiler&task=registers">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/iscriviti.jpg" id="menubtn_iscriviti" style="width:63px;height:25px"/>
		</a></div>
		<div class="menutop_btn"><a href="index.php?option=com_content&task=view&id=857&Itemid=119">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/aiuto.jpg" id="menubtn_aiuto" style="width:49px;height:25px"/>
		</a></div>
		<div class="menutop_btn"><a href="index.php?option=com_content&task=view&id=840&Itemid=84">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/chisiamo.jpg" id="menubtn_chisiamo" style="width:78px;height:25px"/>
		</a></div>
		<div class="menutop_btn"><a href="index.php?option=com_content&task=view&id=884&Itemid=121">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/sostienici.jpg" id="menubtn_sostienici" style="width:76px;height:25px"/>
		</a></div>
		<div class="menutop_btn"><a href="index.php">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/sponsor.jpg" id="menubtn_sponsor" style="width:63px;height:25px"/>
		</a></div>
	</div>
	<div id="dividerbar"></div>
	<div id="sectionsbar">
		<div class="section_btn"><a href="index.php?option=com_cb_search&task=usersList">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/persone-40x40.gif" id="section_btn_persone" style="width:40px;height:40px" title="Persone" alt="Persone">
		</a></div>

		<div class="section_btn"><a href="index.php?option=com_mambowiki&Itemid=47">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/bussola-40x40.gif" id="section_btn_bussola" style="width:40px;height:40px" title="Bussola" alt="Bussola">
		</a></div>

		<div class="section_btn"><a href="index.php?option=com_content&task=section&id=1&Itemid=124">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/notizie-40x40.gif" id="section_btn_notizie" style="width:40px;height:40px" title="Notizie" alt="Notizie">
		</a></div>

		<div class="section_btn"><a href="index.php?option=com_events&Itemid=125">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/calendario-40x40.gif" id="section_btn_calendario" style="width:40px;height:40px" title="Calendario" alt="Calendario">
		</a></div>

		<div class="section_btn">
		<a href="index.php?option=com_groupjive&Itemid=126">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/gruppi-40x40.gif" id="section_btn_gruppi" style="width:40px;height:40px" title="Gruppi" alt="Gruppi">
		</a></div>

		<div class="section_btn">
		<a href="index.php?option=com_fireboard&Itemid=127">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/piazza-40x40.gif" id="section_btn_piazza" style="width:40px;height:40px" title="Piazza" alt="Piazza">
		</a></div>

		<div class="section_btn">
		<a href="index.php?option=com_content&task=blogsection&id=6&Itemid=96">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/scrittura-40x40.gif" id="section_btn_scrittura" style="width:40px;height:40px" title="Scrittura" alt="Scrittura">
		</a></div>
	
		<div class="section_btn">
		<a href="index.php?option=com_content&task=blogsection&id=11&Itemid=98">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/fotografia-40x40.gif" id="section_btn_fotografia" style="width:40px;height:40px" title="Fotografia" alt="Fotografia">
		</a></div>

		<div class="section_btn">
		<a href="index.php?option=com_content&task=blogsection&id=10&Itemid=99">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/audio-40x40.gif" id="section_btn_audio" style="width:40px;height:40px" title="Audio" alt="Audio">
		</a></div>

		<div class="section_btn">
		<a href="index.php?option=com_content&task=blogsection&id=9&Itemid=97">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/video-40x40.gif" id="section_btn_video" style="width:40px;height:40px" title="Video" alt="Video">
		</a></div>

		<div class="section_btn">
		<a href="index.php?option=com_content&task=blogsection&id=12&Itemid=115">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/altrecreazioni-40x40.gif" id="section_btn_altrecreazioni" style="width:40px;height:40px" title="Altre creazioni" alt="Altre creazioni">
		</a></div>

		<div class="section_btn">
		<a href="index.php?option=com_content&task=view&id=848&Itemid=">
			<img src="<?php echo $mosConfig_live_site; ?>/templates/m8/images/link-40x40.gif" id="section_btn_link" style="width:40px;height:40px" title="Link" alt="Link">
		</a></div>

	</div>
	<div id="bg">		<?php if (mosCountModules('left') > 0) { ?>
		<div id="sidebar">
		<?php mosLoadModules('left');?>
		</div>
		<?php } ?>	
		<?php if (mosCountModules('right') > 0) { ?>
		<div id="content"  class="<?php if (mosCountModules('left') > 0) { ?>narrowcontent1<?php } else { ?>largecontent<?php } ?>">
		<?php mosMainBody(); ?>
		</div>
		<?php } ?>
	
	
		<?php if (mosCountModules('right') == 0) { ?>
		<div id="content1"  class="<?php if (mosCountModules('left') > 0) { ?>narrowcontent<?php } else { ?>largecontent<?php } ?>">
		<?php mosMainBody(); ?>
		</div>
		<?php } ?>
		
		<?php if (mosCountModules('right') > 0) { ?>
		<div id="sidebar-2">
			<?php mosLoadModules('right', -2); ?>
		</div>

		<?php } ?>

		
		<div style="clear: both;">&nbsp;</div>

		<div id="footer">
			<?php include_once( $mosConfig_absolute_path .'/includes/footer.php');?>
		</div>
		<div id="superbar">&nbsp;</div>
	</div>
</div>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4028568-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>